package com.njlime.core.exception;

public class WebException extends RuntimeException {

	private static final long serialVersionUID = 14066014168648158L;

	protected int exceptionCode;

	public WebException(String msg) {
		super(msg);
		this.exceptionCode = ExceptionState.UNKNOWN_EXCEPTION;
	}

	public int getExceptionCode() {
		return exceptionCode;
	}

	public void setExceptionCode(int exceptionCode) {
		this.exceptionCode = exceptionCode;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

}
